import { observable, action } from 'mobx'

class AppStore {
    @observable name = "woshinibaba"
    @observable todos = []

    @action setName = () => {
        this.name = "It’s successful"
    }
}
const store = new AppStore()
export default store